import request from '@/utils/request'

// 标签树
export function getTagsTree(params) {
  return request({
    url: '/hermes/labelDefine/queryLabelsTree',
    method: 'get',
    params
  })
}

// 客户信息查询
export function getCustomerInfo(params) {
  return request({
    url: '/hermes/common/customer',
    method: 'get',
    params
  })
}

// 标签列表查询
export function getTagsTable(params) {
  return request({
    url: '/hermes/labelDefine/queryLabels',
    method: 'get',
    params
  })
}

// 查询标签生成方法
export function queryLabelMethod(params) {
  return request({
    url: '/hermes/labelDefine/queryLabelMethod',
    method: 'get',
    params
  })
}

// 删除标签
export function deleteLabels(params) {
  return request({
    url: '/hermes/labelDefine/deleteLabels',
    method: 'delete',
    params
  })
}